﻿namespace Demo.Admin.Application.Contracts.Users.Dto;

public class AdminUserDto
{
    /// <summary>
    /// 用户编号
    /// </summary>
    public Guid Id { get; set; }
    /// <summary>
    /// 租户编号
    /// </summary>
    public Guid? TenantId { get; set; }

    /// <summary>
    /// 用户名
    /// </summary>
    public string UserName { get; set; }

    /// <summary>
    /// 名
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 姓
    /// </summary>
    public string Surname { get; set; }

    /// <summary>
    /// 邮箱
    /// </summary>
    public string Email { get; set; }

    /// <summary>
    /// 邮箱是否已验证
    /// </summary>
    public bool EmailConfirmed { get; set; }

    /// <summary>
    /// 手机号
    /// </summary>
    public string PhoneNumber { get; set; }

    /// <summary>
    /// 手机号是否已验证
    /// </summary>
    public bool PhoneNumberConfirmed { get; set; }

    /// <summary>
    /// 是否激活
    /// </summary>
    public bool IsActive { get; set; }

    /// <summary>
    /// 是否锁定
    /// </summary>
    public bool LockoutEnabled { get; set; }

    /// <summary>
    /// 锁定截止时间
    /// </summary>
    public DateTimeOffset? LockoutEnd { get; set; }

    /// <summary>
    /// 并发戳
    /// </summary>
    public string ConcurrencyStamp { get; set; } 
}